<template>
  <div>
      <input class="input" type="text" @input="inputChangr" :value="value" placeholder="请输入愿望">
  </div>
</template>
<script>
export default {
        props:['value'],
data(){
    return{
    }
},
methods:{
    inputChangr(e){
        this.$emit("input",e.target.value)
    }
}
}
</script>
<style scoped>
.input{
    margin: 40px;
}
</style>